package edu.szu.huhanpeng.doodlingFight.controller 
{
	import edu.szu.huhanpeng.doodlingFight.view.GameWindowMed;
	import edu.szu.huhanpeng.doodlingFight.view.StagePanelMed;
	import org.puremvc.as3.interfaces.ICommand;
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.interfaces.INotifier;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	
	/**
	 * ...
	 * @author Huhanpeng
	 */
	public class EnableStageInteract extends SimpleCommand implements ICommand, INotifier 
	{
		
		override public function execute(note:INotification):void 
		{
			(facade.retrieveMediator(GameWindowMed.NAME ) as GameWindowMed ).enableInteract();
			( facade.retrieveMediator(StagePanelMed.NAME) as StagePanelMed ).enableInteract();
		}
		
	}

}